function polys = coeffs_to_polys_leg_big(poly_coeffs)
    %获取输入数组的尺寸
    [rows,cols,~]=size(poly_coeffs);

    %初始化一个单元数组来存储多项式字符串
    polys=strings(rows,cols);

    %遍历每个元素位置
    for i=1:rows
        for j=1:cols
            coeffs = squeeze(poly_coeffs(i,j,:))';
            %构成多项式字符串，使用L_leg和R_leg作为变量名
            polyStr = sprintf('%.4f*L_leg*L_leg + %.4f*R_leg*R_leg + %.4f*L_leg*R_leg + %.4f*L_leg + %.4f*R_leg + %.4f' ,coeffs);
            
            %存储多项式字符串
            polys(i,j) = polyStr;
        end
    end
end